<%@taglib prefix="c" uri="/WEB-INF/tld/c.tld"%>
<%@ taglib prefix="bean" uri="/WEB-INF/tld/struts-bean.tld"%>
<%@ taglib prefix="html" uri="/WEB-INF/tld/struts-html.tld"%>
<%@ taglib prefix="logic" uri="/WEB-INF/tld/struts-logic.tld"%>

<logic:present name="usuario" scope="session">
	<bean:define id="opcionMenu" name="opcionMenu" scope="session" />
	<bean:define id="constantes" name="constantes" scope="session" />
	<c:choose>
		<c:when test="${opcionMenu == constantes.MENU_NO_OPCION}">
			<html:link action="/players.do?do=listarPlayers"><bean:message key="menu.players" bundle="menu"/></html:link><br/>
			<html:link action="/players.do?do=listarPlayers"><bean:message key="menu.usuarios" bundle="menu"/></html:link><br/>
			<html:link action="/players.do?do=listarPlayers"><bean:message key="menu.coches" bundle="menu"/></html:link><br/>
		</c:when>
		<c:when test="${opcionMenu == constantes.MENU_PLAYERS}">
			--><bean:message key="menu.players" bundle="menu"/><br/>
			<html:link action="/players.do?do=listarPlayers"><bean:message key="menu.usuarios" bundle="menu"/></html:link><br/>
			<html:link action="/players.do?do=listarPlayers"><bean:message key="menu.coches" bundle="menu"/></html:link><br/>
		</c:when>
		
	</c:choose>
</logic:present>
